﻿@{
    Layout = null;
}

<div class="navbar navbar-inverse bs-docs-nav">
    
    
    
    
     <div class="container">
            <div class="nav-collapse collapse">

                <ul class="nav">
                   
                </ul>

                <ul class="nav navbar-nav pull-left">
                    @if (Request.IsAuthenticated)
                    {

             
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">product<b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                 <li class=""><a href="/Admin/Product/List">Manage Product</a></li>
                                    <li class=""><a href="/Admin/Product/Create">Create Product</a></li>
                                
                            </ul>
                        </li>
       

        
        
                    }
               
                </ul>
                
                <ul class="nav navbar-nav pull-right">
                     @if (Request.IsAuthenticated)
                     {
                           <li><a href="/statuses/@ViewBag.UserId">@User.Identity.Name</a></li>
                       
                         <li><a href="/customer/signoff">Log off</a></li>
                     }
                     else
                     {  
                         <li>@Html.ActionLink("Register", "Register", "Customer", routeValues: new { area = "" }, htmlAttributes: new { id = "registerLink" })</li>
                        <li>@Html.ActionLink("Log in", "Login", "Customer", routeValues: new { area = "" }, htmlAttributes: new { area = "", id = "loginLink" })</li>
          
                     }
                </ul>

            </div>

        </div>

    

        
</div>

